#!/bin/bash
if [ ! -f model/all_training_pairs.pkl ]; then
	python2 bi-tbcnn/bi-tbcnn/prepare_pairs_data.py vec/fast_algorithms_trees_cpp.pkl vec/fast_algorithms_trees_java.pkl model/all_training_pairs.pkl 
fi
python2 bi-tbcnn/bi-tbcnn/train_tbcnn.py model/logs/training_log model model/all_training_pairs.pkl vec/fast_pretrained_vectors_cpp.pkl vec/fast_pretrained_vectors_java.pkl
python2 bi-tbcnn/bi-tbcnn/test_tbcnn.py model model/all_training_pairs.pkl vec/fast_pretrained_vectors_cpp.pkl vec/fast_pretrained_vectors_java.pkl
